package com.cssw.fyzb.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: zzf
 * @time: 2020/12/23 9:55
 */
@ApiModel("账户修改")
@Data
public class UpdateOperDto {

    @NotNull(message = "账号标识不允许为空")
    @ApiModelProperty("账号标识")
    private Long operId;

    @NotNull(message = "工号不允许为空")
    @ApiModelProperty("工号")
    private String operCode;


    @ApiModelProperty("密码")
    private String operPwd;

    @NotNull(message = "手机号不能为空")
    @ApiModelProperty("手机号")
    private String mobileNo;

    @NotNull(message = "姓名不能为空")
    @ApiModelProperty("姓名")
    private String operName;

    @NotNull(message = "备注")
    @ApiModelProperty("备注")
    private String remark;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty("状态")
    private String status;


}
